<?php
    include '../../../controlador/php/conexion/Conexion.php';
    $con = new Conexion();
    
    $oids = $_REQUEST['oidsol'];
    
        
    $soli = "select rtrim(conpertinen)as pertinencia,rtrim(conpriorid)as prioridad,confecump,condias from dnconducta
             where sol_oid=".$oids;
    $resul=$con->query($soli);  
    
    while($res = mssql_fetch_array($resul)){
        $listas[] = array_map(utf8_encode,$res);
    }
    
    print_r(json_encode($listas));
    $con->cerrarConexion();
?>